package com.example.it_com.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Forumpost {
    private Integer postId;
    private Integer userId;
    private String pTitle;
    private String pDescription;
    private String pType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime pCreated;
    private LocalDateTime pUpdated;
    private Integer likeCount;

}
